package com.region.loadbalancer.monitor.event;

import com.region.loadbalancer.group.GroupServer;

/**
 * Event Listener
 *
 * @author liujieyu
 * @date 2023/5/25 22:15
 * @desciption
 */
public interface Event extends Runnable {

    /**
     * Get current event status
     * @return
     */
    EventState state();
    /**
     * Logical events
     *
     * @return
     */
    void event(GroupServer groupServer);

}
